<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>VUE Template</title>
    <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
    <div id="root">
        <h1>名称：{{name}}</h1>
        <h1>地址：{{address}}</h1>
    </div>
</body>
    <script type="text/javascript">
        const vm = new Vue({
            el:'#root',
            data:function(){
                return{
                    name:'trentwu',
                    address:'nanjing'
                }
            }
        })
        console.log(vm)
    </script>
</html>